package Before826.jihe;

import java.util.Comparator;

public class StudentComparator implements Comparator {
    public int compare(Object o1, Object o2) {
        return ((Student)o1).getName().compareTo(((Student)o2).getName());
    }
}
